home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 1998 November / IRIX 6.5.2 Base Documentation November 1998.img / usr / share / catman / u_man / cat1 / what.z / what
Text File  |  1998-10-20  |  2KB  |  67 lines

  1.  
  2.  
  3.  
  4. WWWWHHHHAAAATTTT((((1111))))                                                                WWWWHHHHAAAATTTT((((1111))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      what - identify SCCS files
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      wwwwhhhhaaaatttt [----ssss] files
  13.  
  14. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  15.      _w_h_a_t searches the given files for all occurrences of the pattern that
  16.      _g_e_t(1) substitutes for %Z% (this is @@@@((((####)))) at this printing) and prints out
  17.      what follows until the first ~~~~, >>>>, new-line, \\\\, or null character.  For
  18.      example, if the C program in file ffff....cccc contains
  19.  
  20.           char ident[] = "@(#)identification information";
  21.  
  22.      and ffff....cccc is compiled to yield ffff....oooo and aaaa....oooouuuutttt, then the command
  23.  
  24.           what f....c f....o a....out
  25.  
  26.      will print
  27.  
  28.           f....c:
  29.                   identification information
  30.  
  31.           f....o:
  32.                   identification information
  33.  
  34.           a....out:
  35.                   identification information
  36.  
  37.      _w_h_a_t is intended to be used in conjunction with the  command _g_e_t(1),
  38.      which automatically inserts identifying information, but it can also be
  39.      used where the information is inserted manually.  Only one option exists:
  40.  
  41.           ----ssss      Quit after finding the first occurrence of pattern in each
  42.                   file.
  43.  
  44. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  45.      get(1), help(1)
  46.  
  47. DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
  48.      Exit status is 0 if any matches are found, otherwise 1.  Use _h_e_l_p(1) for
  49.      explanations.
  50.  
  51. BBBBUUUUGGGGSSSS
  52.      It is possible that an unintended occurrence of the pattern @@@@((((####)))) could be
  53.      found just by chance, but this causes no harm in nearly all cases.
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.